package gwt.immunology.client.service;

import gwt.immunology.shared.GenericDto;
import gwt.immunology.shared.ResultSetDto;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("role")
public interface RoleService extends RemoteService {

    GenericDto registerNewRole(GenericDto roleDto);

    void deleteRoleById(Long roleId);

    GenericDto getRoleById(Long roleId);

    GenericDto editRole(GenericDto roleDto);

    ResultSetDto getAllRoles();

}
